Skip to content

Renovate onboarding + v0.12.215 (GPT tool calls #193) + v0.12.216 (security: 0 vulns)#192

Merged
VickyXAI merged 3 commits into
mainfrom
chore/renovate-onboard
Jun 30, 2026
Merged

Renovate onboarding + v0.12.215 (GPT tool calls #193) + v0.12.216 (security: 0 vulns)#192
VickyXAI merged 3 commits into
mainfrom
chore/renovate-onboard

Conversation

@VickyXAI

@VickyXAI VickyXAI commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Onboards this repo to the shared org Renovate preset via extends: github>blockrunai/renovate-config. That preset configures weekly grouped minor/patch updates, auto-merged dev-dependency updates and security PRs, and manual review for majors. This config is inert until the Mend Renovate app is installed on the org, so merging it is safe and has no immediate effect.

Summary by CodeRabbit

  • Bug Fixes
    • Fixed plain-text GPT tool-call extraction and normalization (including terminal blocks and function-call variants), improving reliability across streaming and non-streaming paths.
  • Security/Dependencies
    • Bumped the package version and added a required runtime dependency to improve clean-install behavior.
    • Updated build tooling overrides for consistent behavior.
  • Tests
    • Added unit tests covering supported plain-text patterns and negative/malformed cases.
  • Chores
    • Updated automation to use a shared Renovate configuration with schema support.
    • Refreshed release notes with security/dependency hygiene updates.

@coderabbitai

coderabbitai Bot commented Jun 29, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR adds GPT plain-text tool-call recognition and tests, updates release metadata and package settings, adjusts an OpenClaw scanner integration test, and adds a minimal Renovate configuration.

Changes

GPT Plain-Text Tool-Call Parsing

Layer / File(s) Summary
Parse GPT plain-text shapes
src/textual-tool-calls.ts
Extends supported textual tool-call formats and adds GPT-specific parsing helpers for terminal blocks, whole-content function syntax, and trailing JSON objects with argument normalization.
Integrate GPT extraction and cleanup
src/textual-tool-calls.ts
Updates textual tool-call aggregation to invoke GPT extraction after other recognizers and includes GPT matches in cleaned-content stripping.
Tests and release note
src/textual-tool-calls.test.ts, CHANGELOG.md
Adds unit tests for the new GPT plain-text tool-call shapes and records the release note for the new behavior.

Release and Dependency Updates

Layer / File(s) Summary
Version and dependency manifest
package.json
Updates the package version, adds undici as a runtime dependency, and adds the esbuild override.
OpenClaw scanner test
test/integration/security-scanner.test.ts
Updates the OpenClaw scanner chunk discovery logic and the associated error message and comments.
Release note entry
CHANGELOG.md
Adds the release note for the dependency update, scanner test adjustment, and build status.

Renovate Configuration

Layer / File(s) Summary
Add Renovate config
renovate.json
New file with a schema reference and shared config extension.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related issues

Possibly related PRs

  • BlockRunAI/ClawRouter#190: Both PRs modify src/textual-tool-calls.ts and src/textual-tool-calls.test.ts to add textual tool-call recognition and cleaned-content stripping.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 33.33% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main changes: Renovate onboarding, release-note/version updates, and the security/tool-call fixes.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/renovate-onboard

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

1bcMax added 2 commits June 30, 2026 00:04
GPT 5.4 sometimes emits tool calls as plain JSON / function-call-looking
text in message.content instead of structured tool_calls. Added a fourth
recognizer to extractTextualToolCalls (alongside OpenClaw/Anthropic/Gemini)
covering: whole-content {name,parameters}, {type:function,...}, NAME(parameters={...}),
trailing JSON after prose (only when type:function), and terminal\nCMD\n[/terminal].
Guardrails reject prose examples, incomplete terminal blocks, and non-function
types; terminal cmd is mirrored to command. 14 new tests, full suite 645 passed.

Thanks @0xCheetah1.
…bilities)

- Declare undici@^8.5.0 as a direct dependency: src/upstream-proxy.ts
  lazy-imports it but it was never declared, only resolving via openclaw's
  dev/peer hoist. Clean installs could fail to load it (proxy feature). Now
  honest + pinned to the patched version.
- Bump openclaw dev/peer dep 2026.5.7 -> 2026.6.10 (in range), clearing
  openclaw + transitive pi-*/markdown-it/tar/undici advisories.
- Pin esbuild ^0.28.1 via overrides (GHSA-g7r4-m6w7-qqqr, dev-server
  Windows-only). npm audit: 0 vulnerabilities.
- Fix security-scanner.test.ts: openclaw 2026.6.10 renamed its scanner
  chunk skill-scanner-*.js -> scanner-*.js; broaden the filter to match both.

All alerts were dev/lockfile-only; the published runtime footprint had no
vulnerable deps. Full suite 645 passed, lint + typecheck + build clean.
@VickyXAI VickyXAI changed the title chore: enable Renovate (shared org preset) Renovate onboarding + v0.12.215 (GPT tool calls #193) + v0.12.216 (security: 0 vulns) Jun 30, 2026
@VickyXAI VickyXAI merged commit 9706b01 into main Jun 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant